<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<head>
<style>
ol{
    background: #ff9999;
}
ul{
    background: #3399ff;
    padding: 20px;
}
ol li{
    background: #ffe5e5;
    padding: 5px;
    margin-left: 35px;
}
ul li{
    background: #cce5ff;
    margin: 5px;
}
</style>
</head>
<body>
    <h1>设置列表的颜色样式：</h1>

<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ol>

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Coca Cola</li>
</ul>
</body>
</html>